package com.hrh.selectsystem.service;

import com.hrh.selectsystem.model.entity.MentorApplicationCount;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author hetongxue
* @description 针对表【mentor_application_count(导师申请数表)】的数据库操作Service
* @createDate 2024-11-01 15:07:15
*/
public interface MentorApplicationCountService extends IService<MentorApplicationCount> {
    /**
     * 批量获取导师申请数
     * @param mentorIds
     * @return
     */
    Map<Long, Integer> getApplicationCountMap(List<Long> mentorIds);

    /**
     * 更新导师申请数
     * @param MentorId
     */
    void updateMentorApplicationCount(Long MentorId);
}
